package com.speedchina.framework.exception;

import com.speedchina.framework.model.R;

import java.io.Serializable;

/**
 * 基础自定义异常
 *
 * @author hank
 * @create 2021-04-07 上午7:18
 **/
public class BException extends AssertException {

    public BException(){
        super(R.ERROR, "程序执行错误");
    }

    public BException(String msg){
        super(R.ERROR, msg);
    }

    public BException(Serializable code, String msg){
        super(code, msg);
    }
}
